package com.ruoyi.process.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 生产订单对象 process_order
 * 
 * @author chao
 * @date 2024-07-25
 */
public class ProcessOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单ID */
    private Long id;

    /** 订单批号 */
    @Excel(name = "订单批号")
    private String orderCode;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String clientName;

    /** 客户电话 */
    @Excel(name = "客户电话")
    private String clientPhone;

    /** 产品ID */
    @Excel(name = "产品ID")
    private Long productId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品规格/型号 */
    @Excel(name = "产品规格/型号")
    private String model;

    /** 数量 */
    @Excel(name = "数量")
    private Double num;

    /** 单位 */
    @Excel(name = "单位")
    private String productUnitname;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal signalPrice;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal totalPrice;

    /** 是否付款 */
    @Excel(name = "是否付款")
    private String pay;

    /** 需求日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "需求日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deadtime;

    /** 箱长度 */
    @Excel(name = "箱长度")
    private Double bucketLength;

    /** 箱宽度 */
    @Excel(name = "箱宽度")
    private Double bucketWidth;

    /** 箱高度 */
    @Excel(name = "箱高度")
    private Double bucketHeigth;

    /** 单位 */
    @Excel(name = "单位")
    private String bucketUnitname;

    /** 是否需要包皮 */
    @Excel(name = "是否需要包皮")
    private Long applyHusk;

    /** 包皮颜色 */
    @Excel(name = "包皮颜色")
    private String huskColor;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 备注 */
    @Excel(name = "备注")
    private String common;



    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setOrderCode(String orderCode) 
    {
        this.orderCode = orderCode;
    }

    public String getOrderCode() 
    {
        return orderCode;
    }

    public void setClientName(String clientName) 
    {
        this.clientName = clientName;
    }

    public String getClientName() 
    {
        return clientName;
    }

    public void setClientPhone(String clientPhone) 
    {
        this.clientPhone = clientPhone;
    }

    public String getClientPhone() 
    {
        return clientPhone;
    }

    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }

    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }

    public void setNum(Double num)
    {
        this.num = num;
    }

    public Double getNum()
    {
        return num;
    }

    public void setProductUnitname(String productUnitname) 
    {
        this.productUnitname = productUnitname;
    }

    public String getProductUnitname() 
    {
        return productUnitname;
    }

    public void setSignalPrice(BigDecimal signalPrice)
    {
        this.signalPrice = signalPrice;
    }

    public BigDecimal getSignalPrice()
    {
        return signalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice)
    {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTotalPrice()
    {
        return totalPrice;
    }

    public void setPay(String pay)
    {
        this.pay = pay;
    }

    public String getPay()
    {
        return pay;
    }

    public void setDeadtime(Date deadtime) 
    {
        this.deadtime = deadtime;
    }

    public Date getDeadtime() 
    {
        return deadtime;
    }

    public void setBucketLength(Double bucketLength)
    {
        this.bucketLength = bucketLength;
    }

    public Double getBucketLength()
    {
        return bucketLength;
    }

    public void setBucketWidth(Double bucketWidth)
    {
        this.bucketWidth = bucketWidth;
    }

    public Double getBucketWidth()
    {
        return bucketWidth;
    }

    public void setBucketHeigth(Double bucketHeigth)
    {
        this.bucketHeigth = bucketHeigth;
    }

    public Double getBucketHeigth()
    {
        return bucketHeigth;
    }

    public void setBucketUnitname(String bucketUnitname) 
    {
        this.bucketUnitname = bucketUnitname;
    }

    public String getBucketUnitname() 
    {
        return bucketUnitname;
    }

    public void setApplyHusk(Long applyHusk) 
    {
        this.applyHusk = applyHusk;
    }

    public Long getApplyHusk() 
    {
        return applyHusk;
    }

    public void setHuskColor(String huskColor) 
    {
        this.huskColor = huskColor;
    }

    public String getHuskColor() 
    {
        return huskColor;
    }

    public String getCommon() {
        return common;
    }

    public void setCommon(String common) {
        this.common = common;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderCode", getOrderCode())
            .append("clientName", getClientName())
            .append("clientPhone", getClientPhone())
                .append("productId", getProductId())
            .append("productName", getProductName())
            .append("model", getModel())
            .append("num", getNum())
            .append("productUnitname", getProductUnitname())
                .append("signalPrice", getSignalPrice())
                .append("totalPrice", getTotalPrice())
                .append("pay", getPay())
            .append("deadtime", getDeadtime())
            .append("bucketLength", getBucketLength())
            .append("bucketWidth", getBucketWidth())
            .append("bucketHeigth", getBucketHeigth())
            .append("bucketUnitname", getBucketUnitname())
            .append("applyHusk", getApplyHusk())
            .append("huskColor", getHuskColor())
            .append("common", getCommon())
                .append("status",getStatus())
            .toString();
    }
}
